package com.liangtian.mdm.dm.common.enums;

/**
 * 2016-08-11
 *
 * @author honye
 * 控件样式
 */
public enum Style {

    VARCHAR2("VARCHAR2", "输入框", ""),
    NUMBER("NUMBER", "整数", ""),
    NUMBERM("NUMBERM", "小数", ""),
    SELECT("selectList", "下拉选框", ""),
    RADIO("radioType", "单选框", ""),
    CHECKBOX("checkBoxType", "复选框", ""),
    POPLIST("popList", "弹出列表", ""),
    LISTTREE("listTree", "树列表", ""),
    MAIL("mailType", "邮箱", ""),
    HIDE("hideType", "影藏域", ""),

    DATE("DATE", "日期", ""),
    BLOB("BLOB", "文件", ""),
    CLOB("CLOB", "文本", "");

    private String code;    // 代码
    private String name;    // 名称
    private String desc;    // 描述

    private Style(String code, String name, String desc) {
        this.code = code;
        this.name = name;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
